<li>
  <% if attachment.thumbnail? && attachment.file.exists?(:thumb) %>
    <a href="<%= attachment.file.url %>" class="fancybox" rel="gallery-<%= attachment.attachable.id %>"><img src="<%= attachment.file.url(:thumb) %>" /></a>
  <% end %>
  <strong><%= attachment.file_file_name %></strong>
  <span class="meta"><%= number_to_human_size(attachment.file.size) %> &middot; <%= link_to t(:download), attachment.file.url %></span>
</li>
